<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>【密友圈】</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link href="{$Think.config.RESOURCEURL}wx_assets/css/common.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
<link href="{$Think.config.RESOURCEURL}wx_assets/quan/recruit.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.1.1.3.min.js"></script>
<script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.alert.js"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/util.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/wx_share.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
</head>
<body>
  <if condition="$id neq ''">
    <div class="article">
        <h2>{$title}</h2>
        <if condition="$isDisplayReadCount eq '1'">
       		 <div class="datetime">{$createTime}&nbsp;{$author}</div>
        </if>
        <div class="article-detail">
        {$content}
        </div>
    </div>
  </if>
   <div class="recruit">
        <img src="{$qrCodeImg}?v={$date}" alt="" style="width:100%" id="qrImg" />
    </div>
    <script type="text/javascript">
    var baseUrl = '{$Think.config.SERVER_HOST}';
    var miendetail={
        getShareUrl:function(){
            var qId=$.util.getParamByObject("qId");
            var shareUrl="";
            var params={
                "qId":"{$qId}",
                "fromUId":"{$fromUId}",
                "id":"{$id}"
            };
            params=encodeURIComponent(JSON.stringify(params));
            shareUrl=baseUrl+'call.html?customerId={$customerId}&module=quan&scope=1&method=miendetail&params='+params;
            return shareUrl;
        }
    }
    var shareUrl=miendetail.getShareUrl();
    wx_share.init({
            "title":"转起来，务必让你朋友圈的微商看到！",
            "desc":'没错我就是一名微商，这是我的故事.......',
            "link":shareUrl,
            "imgUrl":"{$headImgUrl}",
            "pkg":{
                "appId": '{$pkg.appId}',
                "timestamp": {$pkg.timestamp},
                "nonceStr": '{$pkg.nonceStr}',
                "signature": '{$pkg.signature}'
            },
            success:function(config,shareType){
            }
    });
    </script>
  </body>
</html>
